removing static warnings