Fix for php notice.