handle local on static_url calls