Fix parser for getting user and host