bugfix: nontype error in behaviour