Fixing dereferentation, else older perl versions throws an error