resolving warnings