fixing broken auth filter