fixed editing issue