Fixed variable initialization order warning.