Fixed map_print last_end integer truncate