cprofile fix