fixed trap laying logic