fix category auto-complete
Merge remote-tracking branch 'upstream/master'