How can I get the calculator widget to ignore certain part of a dropdow