fixing errors - 2