@rocknets i was able to solve the issue . The problem was that, some of the steps were not getting saved ,it happened a couple of times and when all the steps were saved, i was able to publish. But then i encountered a problem where the maps were not loading on the published pages despite all the effort. good luck to you .