When publishing to staging logics get broken

Hello guys,

Hope someone know the answer for me! But when i publish my site to staging my logic flows get broken. Is here a work around for?

Many thanks in advance!