fix automatic rake task