removed duplicate params in diary controller