improved optional args dispatcher
fixed a potential bug on monthAgo function