Minor - removing var_dump
Fixing PHP notice