now that I've found the documentation, fixed some stuff for extensions