fixed capfile for db up