better print messages for debug