another bugfix for door