removed needless reference operator
if-clause: put constant value first
updated comment