fixed keyword parameters for functions with dynamic defaults