don't lose hidden attribute