Fixed error, was serializing output stream D;