remove unneccessary locking