better indentation check