but on first loop fixed