clean up sortable
safeguard cor.test
update variables