keystream final fix (hope so)