Fixed bug in chip import.