more exceptions for keyerror