fixed to support shared blocks