Fixing compiler Warnings