Fixed Session Lock errors