Fix bug on contact creation