fixing errors - 1