detect indentation