Fixed code within console