remove unnecessary static printf args and integrated into printf command