Emulated flex fix (maybe)