fix warnings about core fns