fixing more syntax issues