fix syntax error in casper script