Bugfix + change debug statement to debug from info