fixed issue now process is repeating