fixed the overlay