fix error that caused unexpected rake error