fixed pointless warnings