Fixed status being inccorect occasionally.