A small bugfix

Signed-off-by: Delian Delchev <delian.delchev@gmail.com>