Fix php error. Thanks Tabad for report bug