fixed middle alignment issues