fixed url prefix and module handling