for some reason the default parameter value does not work