fixed a stupid bug because HTML/JS are always wise, and we are just humble mind uncapable to understand their greatness