fixed item null pointer exception