made minor fixes