Fixed a bug that Bregell totally caused.