some fixes on placing traps