Fixed some errors on the parameterize method in listings.rb model