Fix contact creation error