Fixed an issue on create method