fixed some errors in rake file