add configure method and fix default action name