Fix bug connection, all parameter are obligatory