Same code as in line 97~103, consider to use a function for it. e.g. `Uri contectUri = contentParse(msgType);`