bugs fixed: tag fragmentation errors