Fix resources not found and warning message.