nailing down some errors