removed looping error