expected Rat but got Str instead bug was fixed