removed some warnings
fixes