fixing errors?