Fix native Math functions