fix bug for engine lib