fix indentation problems

Re-indented here and there to fix related errors.