tried to fix horrible mistake