sophia: add ctl guards