fix bug department