Fixed logical errors