changed string to_i and math log aspec