bug fix (git reset didn't work properly)