Rearranged a line to remove warning