fix bug in activecode input alert handling