fixed lists bug and rake task