Fixing param reference for onAfterChange et onInit callback