Use correct variable in user load/unload