Fixed data loop
Fixed try catch