fixed firedox bugs