resolving some warnings