add some frequently call function to base handler