Fixed PHP strict warning