fixed some compiler warnings
remove debug files