remove useless resource/sample code