Fixed zombie detection