minor changes in market plugin