fix callbacks not being able to change or add extra parameters
closes #1056,closes #1057