fix #164 Attributes of type string contain string "null" when the bound value is undefined

Close #292