woops, fix bug with layer.Stop