fixed compiling problem

the pot limit now works but there is dupe glitch which is being fixed