fix reference cell mechanism