I've found out what cause dthe problem. I had teamspeak running in the background and once i turned it off it fixxed.