Fixed error when creating customer