Corrected bug in place.py