fix number of instances & unused import