clean up the return value