fixed decorator for view