Please change the global variable name. Name it to `s_layer` will be better.