Width determination fix