minor geometry bug fix