did u read the SMB util faq?
Q: What's "Edit Looping Castle Loop"?
A: "Edit Looping Castle Loop" edits how the Loop Commands work. All of the values (which are in hexadecimal) are in "non-straight" columns. The world row has the values of the worlds each command works in. Add 1 to these values for the real world number. The page row are the values that are the page numbers the loop commands are located. The V pos row are the values of the locations that Mario has to be at in order to pass the commands. The values are set up as y pos/x pos. The Offset of map page skip data row has values of the header of each (one) page skip behind a loop command. To find these headers, double click on the page skip block. The value with a "H" next to it (i.e., 3FH, 43H, etc.) in the description is the header of the page skip. I'm not sure what "World 7's loop" is. I'm guessing that World 7's looping is special. The two values next to it tells the world number (hex) of this "special loop". The values should be the same. However, I don't know what's the World's 7 loop thing.
chances are you got the offset part wrong or something