Moved @titles into templates + fixed get_handin error