fix some bugs in places create