removing error when resource does not exists