more bugfixes for door plan