fix bug in create page