change get-behaviours definition order