fixing code indentation problems