Restructed var_dump and added print_r
Fix static bug