Fixes for localcomments to work on panta