fixed a naming issue with resource generator