minor fixes for user