fix printer and build config