Very dirty bugfix.