remove layouts for api content