the whole lock system seems to work now