reorder statements (compiler warning)