primitive create method bug fix