JJ: fixed warning