fixing trim failure on create
fixing typo confusion
extended knockout to support readonly attribute