fix strict errors