Fixed issue with debug