add support for 422 and 444
add support for suggest_flow_def
fix memory leak
fix usage with _NDEBUG