fix indentation and print