fix variable name in rake task