changed main layout offset1