fix overwriting of package functions by natives