fix pass button flash while clicking