removed ',' in str before int cast