bug fix in projection.py