[py/BF] fixed bugs in setmanual