added fade effect for warning