improve the build to remove unuseful dest file