insert return bug fixed