making free_for_retotal safer