fix syntax error and activate travis hook