skip params whose locations are invalid