fix hide on success