printf only when debug