fix mapping issue with userwiresources
Fix controller