fix terable errors !!!!