working on rake task
fixed rake tasks