slight fix to view