fixed bug in standard align iteration