fixing optimization print