bugfix need to convert string to int