fixed typo addLayer callback trk not layer