list sides in output, fix server error