Fixing Compilation Error