Fixed marketplace functions