Fix call vs apply bug