fix $apply issue