bit of cleaning up the decompiled code

note to self: create some script to automate the decompile process