Fix parser of default args for widget