fix for missing param in debug mode