Fixed if in add-client