fix error with rake run task