fix noop segfault on predict call