fix behavior of constructor not founds.