Added debug-info and bugfix in perception model