fixed firefox issue with relative