Fix php notice. closes #95