[functions.interfaces] fixed nullptr related warning