Removed test code in view