fixing errors 2