fix static strict errors

corrected strict static errors