fixed alot warnings in misc classes