fix not completely wright response type
add braces for workaround