fix printing for Firefox