fixed while syntax for indent
fix