Fix views reqister