fixing create bugs