add messagebox and resource filter