minor compile and indent fixes