fixing various routing errors for pictures and items