apply on callbacks