How to avoid transparency traps