fixing fade issue