added type cast string to int

Signed-off-by: Tanya Gray <Tanya@Wonkbook.local>