remove spurious array declaration and fix timestep