Fixed bug in ymarket plugin