minor bugs in sortabletable.php