removing trailing semi-colon from compiled output