move statick resource checker to utils