Fix bug in placeFree