Fix cases for user and host