fix and switch to debug