Fixing minor bug in the rake