fix strict standards warning