fix issue #278, provide apis for user to specify some views, make the view regions disable the PTR function