closeDatabae should be closeDatabase