fixed strict warning