Fix whitespace
Fix Map reference error
Extract TryToLevel