fixes overlay issue