remove version var, fix syntax