add an index on rating and rank
remove retina template tag