fixed show appropriate view