move assets behavior to core