door effect updating
fix some bugs