fixed bug in market view