fixed some totally wtfroflbug