fix for autoform doc attribute