Rm dbg msg
Remove assert isinstance