fixed multiple logline issue for block modals