bugfixes for firefox & ie10