Fixed bug in importing annotation files