Fixcts changes

Fix some bugs due to the new CTS projection library.