fixing some errors 2