added a __destruct to catch all profiles