fix forwardDeclarations being all messed up entirely