fixed some Warnings for Compiling