use of uninitialized variable in ... undefined subroutine ... called at ... can't use string("") as a HASH ref ...