bug fixes

Fixed a sql / ID bug in making signs