fix fadeout if error happened