ha
fix bug with incorrect place of null termination.