Dont write to empty vector