Fixed App crash and Malformed URL support