Fixing firefox bug and removing unused codes