fixed strict standard warning