fixed getter method for initwithitemname