minor fix

minor bug on commit e51b3fb5553dd53691768c59b549c0cb9fcf01c4