fixes to front
fixed bug with sort