fixed weird require stuff