bug fixed - resourceid to lower case