Arduino gives random numbers in PWM pins

This is how it looks for me also, no I am not using a grond to the arduino. I can switch to an unsigned integer.