refactors rectify prefix list type require

- no funky buffers
- considers nested sexps when extracts from require statement