fix customer creation bug by using scope sort_by_id