fix url mask