Tried to find the bug
Fixed some typo, still no clue what went wrong.