return value of model-get attribute might be null but typeof is 'object'