fix rake script