fix bug for build user definition