fixing some errors3