views: fix a bug with reload