Fixed the Offline Layer Base layer problem