fixed the reason for crash (appearantly i hadn't implemented my sqlite stuff right)