Fixed getItem method of model