Fixed @pavanh11's mistakes.