solve overlay hiding