fix server side print