Fix bug on dynamic call