[fix] using the wrong input to find the solution