added warnings for uploadlayers