corrected template param error in views