fix cancel button error on hover