filter based on the alive field