fixed inewresource in tmap