fix width too long exception