changed to make sure it works in Firefox