fixed release compilation