fixes a missing func