update directive after IDE "refactoring"