Still trying to solve the bug.