fixed ALOT OF ERRORS.