hide function which is not needed in other parts of the code

This fixes a shdw warning with SARAH 4.3.