reindent
level def fix for standalone mode