BUGFIX don't cast type string to int