fix arguments to heap set