testing controller
fix deprecated
update doc