fix bug after new asterisk version