width bug fixing