fix action,pub,sub block to fit to allocation block