finally found the bug in lockmanager...everything works finally