fix decorator and methods allowed logic