Fixes black promoted bug