fixes making passing a string optional