replace deprecated hash acsess by method calls of $*VM