pruductmap item null pointer exception fix