Fixed stupid database permission trouble