fix decorator