fixed small syntax error with autopartial