fixed addon bug