fixed the bug on chapin's page