Fixing firefox issue