adding 2 minor fixes