fix behavior mode