Finally fixes resources header