fixed one problem with layer 3.