fixed indent bugs