fix checks
spacing refactor
fix whitespace issue