ticked #18 - fix condition to string