fix some tab and space problems