Fixed create endpoint