fix mall buying, cleanup for implementing chat