I hope I finally fixed bugs.