makes small fixes, but still doesn't fix black promotion