fix commands magically being removed

Should fix #245 :smirk: