fixed FOS deprecation