fix production compilation