add before_load behavior