fixed a BUG where the wrong completion data was accessed