fixed basic errors on auto-complete and check docs