Fix return when create goes wrong.