Fix small incosistancy in the code