fjeldgaard, if you can share the entire piece of the code, and also the source files, we could test and try to figure out. Just using your couple of lines above isn't helping.