Added some debug to STDOUT to get more info about a potential bug