fixed error pointing to wrong resource