rollback api/constants controller
fix bugs with unscoped