handle misalignment caused by text