checking indentation for proper display