fixed a few bugs with listing page