fixed rake task bug