Fixed typo on create function