fix for debug