fixing errors - 3