Wrong procedure call
modified:   core.sql