trying to fix invalid resource spec