writing to stages table only remains
fixing conlicts