fix bug for manully