strange that my previous version works fine at my local ft instance and produces exception in tests...