make its parent mode to prog-mode