fix php notice. Props TravisCI