changed all the NA placeholders of -1 to 0