might have fixed library system with a hacky workaround