fixing errors(8)