fixed bug in create page