check paramater in autowidth calculation