Call callbacks correctly