removing E_STRICT warnings