cleanup in the capabilities