add after_load callback