fixed editing preview