changes to avoid warnings during compilation