Fix wrong values printed