fixing errors still