add magin for None in resp