rekurzio: corrected one bug (missing $)