fixing z index issues