Fix string overflow due to wrong size calculation