fix core and frontend builds reversed