adjust size, margin etc