fix "unreachable code" error that broke the build

removed a bunch of code after the "return" statement, so now it builds