proper fix for default argument setting