fix resource annotations