fix #102 (Stop level causes crash)

Signed-off-by: Ralph Samer <ralph.samer@student.tugraz.at>