Get function not returning the Truth value fixed