fixed some auto-complete stuff