looks like i forgot to avoid PHP warning