Fix double path and remove var_dump