fix mistake
tweaked error
tweaks
Changed to int by x