slice after filter doesn't seem to work