trying to correct nan rendering addition problem (i think related to switch from numpy 1.6.1 to 1.6.2...)