Firefox compatability fixed