Fixed bug with format for new variables