add tryDropConst so it doesn't failed when the const is not present