showing swyfttype indexing error