"MSG: Input string was not in a correct format" errors