pd: autocreate int and bool controllers + a bug fix