corrected IDE warnings and errors
ups