hack to "fix" bug interacting with swagger ui