bugfix:
bugfix: flaged door crash.