i do not know what happened but it magically worked. i removed the battery for 30 min and connected the phone to my laptop and downloaded Samsung kies and kept turning it on and off on and of tell it finally worked. when i checked how many storage is available it was 150 MB. Thank you all