remove useless resorce compiler macro