fixed the width bug