Change wrong function calling