small steps towards cleaning up the uri stuff
fixed open action on library modules