css bug and calculation error deleted