fix'd unneeded resourceErrors