adding in a more percise way to remove transition