Remove css, optimize filter loops