Fixed php notice.