fixed small errors in rake tasks