fixed an idiot bug