fix the fxxking bugs.