change element to not use parent