Fixed a bug on the create page