fix black magic call