some bugfixes in trusted user funktions.