fix method call for redis locking.