remove align & direction attributes