fixes alignment issues