fixes wrong offset for actions block