better redirect for static