fix when add column, attribute is not set