fixed a foot bug