fix splats in calling context for private functions