Fixed "so" error

Note that the tests have not been ran