Fixed an inexplicable bug