Corrected bug in assert statement, remove unused dependencies