fixed bugs
Merge branch 'master' of https://github.com/lgp/chess