bracket fix to find_userdefined_aiml