Fixed small error in code