bug fixed (tip error)