Fixxed a bufferoverflow