Fixed retrieval bug in Firefox