add doc to create controller
fix error from creaete controller method