solved issue with @CompileStatic