fixing one minor issue with tab completion