fixes #2 remove PHP warning