Fix knocking bug