fixes While statement in sit func

Signed-off-by: izzys <izzy.schall@gmail.com>