fix for when it's no in debug mode