fixed handling of model properties
show template working