removed unexport export for every door check