Fix some php notice.