Fixed html math stuff