fixing so no warnings in 2.0