Fixed some errors and enable the left side rank