fixed standalone debug