fixing errors - 4