fix rake tasks