fixed a bug mentioned in moz bug id 888911