api rake task
removed local ref