globalconstants + fixed input warning