fix for debug issue