issue with printing fixed