Bug fix for optimization