Fixed syntax errors

and -> &&