setting static url properly