fixed sprocs and data