security issue fix in database service