print the statements when invalid entries