fixed a ridiculous bug. Coding while sleepy