fix a bug; rename

Signed-off-by: Cristian Stoica <crististm@gmail.com>