minor corrections to attribute syntax