Small swipping bug fix