fix bug of keywords input size (CSTL-996)