fix chosen element width bug