fixing color overlay problem on the main page