fixed ranking date bug; fixes to frontend
fixed bug in sale