Fixed malloc() issue...
fixed it