fixed create() bug