fixed extra space in new if there is no username