Bug in call generation