fixes for debug settings