attempt 2 fixed firefox bug