fix show_if with belongs