minor bug fix

Fixed bug Which I introduced in 76d06fc9914c2ff1018534fda0e30a76299a5264