test resource a bit fix