change interval from int to str