Trying to solve an interesting error