remove the nas part