Fixed getPutanja method