added limit call duration setting
fixed warning