any php variable need to be reset, otherwise you will find wired values.