fixed decorator fetch_all error