bug fixed with type of categoryID passed to created product