some fixes for numeric extension