remove unnecessary function from debug behaviors