fix api controller
fix model