Fix uninitialized variable in stomp
Add some debugging for STOMP