fixed call to view