refactor conflict message to resource module