more syntax fixes for uglification