fixed not_if block for database creation